package com.rogo.rogobox.controllers
{
	import com.rogo.mvc.interfaces.INotification;
	import com.rogo.mvc.sub.command.Command;
	import com.rogo.rogobox.models.AccountProxy;
	import com.rogo.rogobox.models.vo.RepostVo;
	
	public class CommentMicroblogCommand extends Command
	{
		public function CommentMicroblogCommand()
		{
			super();
		}
		
		override public function execute(notification:INotification):void
		{
			var vo:RepostVo = notification.param as RepostVo;
			var proxy:AccountProxy = facade.retrieveProxy(AccountProxy.NAME) as AccountProxy;
			proxy.commnet(vo.text, vo.id);
		}
	}
}